package com.simon.recyclerview.adapter;

import com.simon.recyclerview.R;
import com.simon.refreshlibrary.recyclerview.UniversalViewHolder;
import com.simon.refreshlibrary.recyclerview.adapter.UniversalAdapter;

import java.util.List;

/**
 * Created by: Simon
 * Email: simon.han0220@gmail.com
 * Created on: 2016/9/18 14:54
 */

public class TestAdapter extends UniversalAdapter<String> {

    public TestAdapter(List<String> data) {
        super(R.layout.item_test, data);
    }

    @Override
    protected void convert(UniversalViewHolder helper, String item) {
        helper.setText(R.id.tv_item, item);
    }
}
